﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataAccess
{
	public interface IControllerData<K, D>
	{
		// METHODE DQL	
		bool DataAltered{ get; }
		Dictionary<K, D> DicoData{ get; }

		// METHODE
		void Dispose();		

		// METHODE DML
		void InsertData(K Key, D Data);
		void UpdateData(K Key, D Data);
		void DeleteData(K Key);

		// METHODE DDL
		void CreateTable();
		void AlterTable();
		void DropTable();
	}
}
